package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.dubbo.enums.CommentType;
import com.tanhua.dubbo.pojo.Announcement;
import com.tanhua.dubbo.pojo.Comment;
import com.tanhua.dubbo.vo.PageInfo;

public interface MessageApi {

    PageInfo queryMessageList(Long userId, Integer page, Integer pageSize, CommentType type);

    IPage<Announcement> queryAnnouncementsList(Integer page, Integer pageSize);
}
